//
//  JFImageHelper.h
//  JFBase
//
//  Created by Alan Wang on 2018/11/29.
//  Copyright © 2018 Alan Wang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface JFImageHelper : NSObject

//对当前屏幕截屏 IOS 7以上会包含状态栏
+ (UIImage *_Nullable)imageByCurrentScreen;

//使用颜色生成指定Size大小图片
+ (UIImage *_Nullable)imageByColor:(UIColor *_Nullable)color size:(CGSize)size;
//把图片修改到指定尺寸
+(nonnull UIImage*)modifyImageSize:(CGSize)size OfImage:(nonnull UIImage*)image;

//生成二维码
+(UIImage*_Nullable)qrCodeWithString:(NSString*_Nonnull)str size:(CGSize)size logo:(UIImage*_Nullable)logo logoSize:(CGSize)logosize;




@end
